﻿<UserControl x:Class="MhsLogoUI.ConsoleView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:ViewModel="clr-namespace:MhsLogoUI.ViewModel" mc:Ignorable="d" d:DesignHeight="100" d:DesignWidth="300">
	<UserControl.DataContext>
		<ViewModel:ConsoleViewModel />
	</UserControl.DataContext>
	<Grid Background="#FFBCC7D8">
		<Grid.ColumnDefinitions>
			<ColumnDefinition />
			<ColumnDefinition Width="Auto" />
		</Grid.ColumnDefinitions>
		<TextBox Grid.Column="0" Name="LogoConsole" Height="90" Margin="5" Text="{Binding Path=ProgramCommandText}" HorizontalAlignment="Stretch" CharacterCasing="Upper" Cursor="IBeam" TabIndex="0" AcceptsReturn="True" AcceptsTab="True" VerticalScrollBarVisibility="Visible" />
		<Button Grid.Column="1" Height="25" Width="85" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,5,5,5" Command="{Binding Path=ConsoleProgramCommand}" CommandParameter="{Binding Path=Text, ElementName=LogoConsole}">Go</Button>
	</Grid>
</UserControl>